package top.lidee.common.service.twice.applet.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import top.lidee.common.service.twice.applet.OmsWechatpayRefundService;
import top.lidee.framework.result.PageUtils;
import top.lidee.module.backendApi.twice.page.Query;
import top.lidee.repository.mapper.twice.applet.OmsWechatpayRefundMapper;
import top.lidee.repository.model.twice.pojo.applet.OmsWechatpayRefundEntity;


@Service("omsWechatpayRefundService")
public class OmsWechatpayRefundServiceImpl extends ServiceImpl<OmsWechatpayRefundMapper, OmsWechatpayRefundEntity> implements OmsWechatpayRefundService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<OmsWechatpayRefundEntity> page = this.page(
                new Query<OmsWechatpayRefundEntity>().getPage(params),
                new QueryWrapper<OmsWechatpayRefundEntity>()
        );

        return new PageUtils(page);
    }

}